<?php
class ControllerHome extends Controller{
	
	public function index() {
		
		//extract POST and GET
		extract($_POST);
		extract($_GET);
		
		if(!isset($_GET['action']) || isset($_POST['action'])) {
			return $this->getForm();
		}
		
	} //End function index
	
	/*
	 * @return unknow
	 * */
	public function getForm() {
		$this->children = array (
			'common/header',
			'common/left',
			'common/right',
			'common/footer'
		);
		$this->template = 'home.html';
		
		return $this->render(true);
	}
	
}
?>